import utility

class DirectorEntity(object):
    def __init__(self,username,bio=None,major=None,homeTown=None,homeState=None,photo=None,name=None,gender=None\
                 ,email=None,address=None,birthDate=None,phone=None,regDate=None):
        self.__username = username
        self.__bio = bio
        self.__major = major
        self.__homeTown = homeTown
        self.__homeState = homeState
        self.__photo = photo
        self.__name = name
        self.__gender = gender
        self.__email = email
        self.__address = address
        self.__birthDate = birthDate
        self.__phone = phone
        self.__regDate = regDate
        
    ColumnNames = utility.Enum(
        username = "Username",
        bio = "Bio",
        major = "Major",
        homeTown = "HomeTown",
        homeState = "HomeState",
        photo = "Photo",
        name = "Name",
        gender = "Gender",
        email = "Email",
        address = "Address",
        birthDate = "BirthDate",
        phone = "Phone",
        regDate = "RegDate"
        )

    def __get_username(self):
        return self.__username
    def __set_username(self, value):
        self.__username = value
    Username = property(fget=__get_username, fset=__set_username)


    def __get_bio(self):
        return self.__bio
    def __set_bio(self, value):
        self.__bio = value
    Bio = property(fget=__get_bio, fset=__set_bio)


    def __get_major(self):
        return self.__major
    def __set_major(self, value):
        self.__major = value
    Major = property(fget=__get_major, fset=__set_major)


    def __get_homeTown(self):
        return self.__homeTown
    def __set_homeTown(self, value):
        self.__homeTown = value
    HomeTown = property(fget=__get_homeTown, fset=__set_homeTown)


    def __get_homeState(self):
        return self.__homeState
    def __set_homeState(self, value):
        self.__homeState = value
    HomeState = property(fget=__get_homeState, fset=__set_homeState)


    def __get_photo(self):
        return self.__photo
    def __set_photo(self, value):
        self.__photo = value
    Photo = property(fget=__get_photo, fset=__set_photo)


    def __get_name(self):
        return self.__name
    def __set_name(self, value):
        self.__name = value
    Name = property(fget=__get_name, fset=__set_name)


    def __get_gender(self):
        return self.__gender
    def __set_gender(self, value):
        self.__gender = value
    Gender = property(fget=__get_gender, fset=__set_gender)


    def __get_email(self):
        return self.__email
    def __set_email(self, value):
        self.__email = value
    Email = property(fget=__get_email, fset=__set_email)


    def __get_address(self):
        return self.__address
    def __set_address(self, value):
        self.__address = value
    Address = property(fget=__get_address, fset=__set_address)


    def __get_birthDate(self):
        return self.__birthDate
    def __set_birthDate(self, value):
        self.__birthDate = value
    BirthDate = property(fget=__get_birthDate, fset=__set_birthDate)


    def __get_phone(self):
        return self.__phone
    def __set_phone(self, value):
        self.__phone = value
    Phone = property(fget=__get_phone, fset=__set_phone)


    def __get_regDate(self):
        return self.__regDate
    def __set_regDate(self, value):
        self.__regDate = value
    RegDate = property(fget=__get_regDate, fset=__set_regDate)

